package com.everlasting.base.entity;

import java.time.LocalDateTime;
import com.everlasting.base.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author HughGao
 * @since 2019-01-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value="SysDict对象", description="字典表")
public class SysDict extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "父级字典id")
    private Long pid;

    @ApiModelProperty(value = "字典名称")
    private String name;

    @ApiModelProperty(value = "字典的编码")
    private String code;

    @ApiModelProperty(value = "字典描述")
    private String description;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
